package com.jishulianmeng.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Reply entity. @author monologu
 */

public class Reply implements java.io.Serializable {

	// Fields

	private long replyId;
	private Literature literature;
	private Reply reply;
	private User user;
	private String replyContents;
	private short replyStatus;
	private String replyRemark;
	private Set replies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Reply() {
	}

	/** minimal constructor */
	public Reply(Literature literature, Reply reply, User user,
			String replyContents) {
		this.literature = literature;
		this.reply = reply;
		this.user = user;
		this.replyContents = replyContents;
	}

	/** full constructor */
	public Reply(Literature literature, Reply reply, User user,
			String replyContents, short replyStatus, String replyRemark,
			Set replies) {
		this.literature = literature;
		this.reply = reply;
		this.user = user;
		this.replyContents = replyContents;
		this.replyStatus = replyStatus;
		this.replyRemark = replyRemark;
		this.replies = replies;
	}

	// Property accessors

	public long getReplyId() {
		return this.replyId;
	}

	public void setReplyId(long replyId) {
		this.replyId = replyId;
	}

	public Literature getLiterature() {
		return this.literature;
	}

	public void setLiterature(Literature literature) {
		this.literature = literature;
	}

	public Reply getReply() {
		return this.reply;
	}

	public void setReply(Reply reply) {
		this.reply = reply;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getReplyContents() {
		return this.replyContents;
	}

	public void setReplyContents(String replyContents) {
		this.replyContents = replyContents;
	}

	public short getReplyStatus() {
		return this.replyStatus;
	}

	public void setReplyStatus(short replyStatus) {
		this.replyStatus = replyStatus;
	}

	public String getReplyRemark() {
		return this.replyRemark;
	}

	public void setReplyRemark(String replyRemark) {
		this.replyRemark = replyRemark;
	}

	public Set getReplies() {
		return this.replies;
	}

	public void setReplies(Set replies) {
		this.replies = replies;
	}

}